using System;
using System.Collections.Generic;
using System.Text;

namespace EZCRS.HCMS.Entity
{
    public class hfg_cardnumber
    {
        private int? _id;
        private int? _orgid;
        private byte _orgtype;
        private string _cardnumber = String.Empty;
        private string _cardpassword = String.Empty;
        private int? _cardtype;
        private int? _uid;
        private string _useadm = String.Empty;
        private DateTime? _usedate;
        private string _comment = String.Empty;

        public hfg_cardnumber()
        {
        }

      

        //protected void LoadFromReader(SqlDataReader reader)
        //{
        //    if (reader != null && !reader.IsClosed)
        //    {
        //        _id = reader.GetInt32(0);
        //        if (!reader.IsDBNull(1)) _orgid = reader.GetInt32(1);
        //        if (!reader.IsDBNull(2)) _orgtype = reader.GetByte(2);
        //        if (!reader.IsDBNull(3)) _cardnumber = reader.GetString(3);
        //        if (!reader.IsDBNull(4)) _cardpassword = reader.GetString(4);
        //        if (!reader.IsDBNull(5)) _cardtype = reader.GetInt32(5);
        //        if (!reader.IsDBNull(6)) _uid = reader.GetInt32(6);
        //        if (!reader.IsDBNull(7)) _useadm = reader.GetString(7);
        //        if (!reader.IsDBNull(8)) _usedate = reader.GetDateTime(8);
        //        if (!reader.IsDBNull(9)) _comment = reader.GetString(9);
        //    }
        //}

  
        

        #region Public Properties
        public int? Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int? orgid
        {
            get { return _orgid; }
            set { _orgid = value; }
        }

        public byte orgtype
        {
            get { return _orgtype; }
            set { _orgtype = value; }
        }

        public string cardnumber
        {
            get { return _cardnumber; }
            set { _cardnumber = value; }
        }

        public string cardpassword
        {
            get { return _cardpassword; }
            set { _cardpassword = value; }
        }

        public int? cardtype
        {
            get { return _cardtype; }
            set { _cardtype = value; }
        }

        public int? uid
        {
            get { return _uid; }
            set { _uid = value; }
        }

        public string useadm
        {
            get { return _useadm; }
            set { _useadm = value; }
        }

        public DateTime? usedate
        {
            get { return _usedate; }
            set { _usedate = value; }
        }

        public string comment
        {
            get { return _comment; }
            set { _comment = value; }
        }
        #endregion

        
    }
}
